package com.investmenttechnologyservices.model;

import javax.persistence.Id;

import com.googlecode.objectify.Key;
import com.googlecode.objectify.annotation.Parent;

public class SubAllocationType {
	@Id String key; 
	@Parent Key<Firm> firmKey;
	
	public SubAllocationType(){
		
	}
	
	public SubAllocationType(String key, Key<Firm> firmKey){
		this.key = key;
		this.firmKey = firmKey;
	}
	
	public String getKey() {return key;}
	
	public void setFirmKey(Key<Firm> firmKey) { this.firmKey = firmKey;}
	public Key<Firm> getFirmKey() {return firmKey;}
}
